package sk.gtug.googleek.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class UpcomingActivitiesPlace extends Place {
	private String token;
	
	public UpcomingActivitiesPlace(String token) {
		super();
		this.token = token;
	}

	public String getToken() {
		return token;
	}
	
	public static class Tokenizer implements PlaceTokenizer<UpcomingActivitiesPlace> {

		@Override
		public UpcomingActivitiesPlace getPlace(String token) {
			return new UpcomingActivitiesPlace(token);
		}

		@Override
		public String getToken(UpcomingActivitiesPlace place) {
			return place.getToken();
		}
		
	}
}
